package com.myiam.idm.portal.beans.self;

import java.io.Serializable;

import javax.faces.application.FacesMessage;
import javax.faces.context.FacesContext;
import javax.faces.event.ActionEvent;

import org.springframework.stereotype.Component;


@Component("passwordSelf")
public class PasswordSelf implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 3578018522048540760L;

	
	private String username;
	private String email;
	
	/*
	 * 
	 */ 
	
	public void reset(ActionEvent event) {
		FacesMessage msg = new FacesMessage(FacesMessage.SEVERITY_INFO, "Correct", "Correct");
		
		FacesContext.getCurrentInstance().addMessage(null, msg);
	}	
	 /* 
	 */
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	
	
	
	/*
	 * 
	 */
	
	
	
}
